package com.tools;

public class CpuTools {
	static{
		System.loadLibrary("com_tools_CpuTools");
	}
	public  native int  getCpuFreq(int n);
	public	native	int	setCpuFreq(int n,int freq);
	public	native	int	autoCpuFreq();
	public	native	int	helpCpuFreq();
	public	native	int	ksarCpuFreq();
	public	native	int	bindCpuFreq(int n,String com);
	public	native	double	testCpuFreq();
	
public static void main(String[] args) {
//	System.out.print(new CpuTools().getCupFreq(0));//
	CpuTools  cTools=new  CpuTools();
	
	int  a=cTools.getCpuFreq(1);
	System.out.println("a="+a);
}	
}
